package net.lab1024.sa.admin.module.business.erp.sao.domain.form;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * 采购订单明细 新建表单
 *
 * @Author AKITA
 * @Date 2025-07-23 20:52:53
 * @Copyright AKITA
 */

@Data
public class SaordaAddForm {

    @Schema(description = "电键", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "电键 不能为空")
    private Long id;

    @Schema(description = "行号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "行号 不能为空")
    private Integer lineNum;

    private Long baseId;

    private Integer baseLineNum;

    private String lineStatus;

    private String freeTxt;

    private String itemId;

    private String itemName;

    private String specs;

    private String unit;

    private BigDecimal qty;


    private String tax;

    private BigDecimal price;

    private BigDecimal priceLine;

    private BigDecimal taxPrice;

    private BigDecimal taxPriceLine;


    private LocalDate reqDate;

    private String stoId;
    private String stoName;

    private String siteId;
    private String siteName;
}